

<%@ page import="com.surelution.projects.crm.GasList" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'gasList.label', default: 'GasList')}" />
        <title><g:message code="default.create.label" args="[entityName]" /></title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></span>
            <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
            <span class="menuButton"><g:link class="list" action="list" controller="gasPlanList"><g:message code="default.list.gasPlanList.label" /></g:link></span>
        </div>
        <div class="body">
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <g:hasErrors bean="${gasListInstance}">
            <div class="errors">
                <g:renderErrors bean="${gasListInstance}" as="list" />
            </div>
            </g:hasErrors>
            
            <div style="display:inline;">
			<g:uploadForm action="gasListImport">
	            <div style="padding-top:30px;width:300px;">油品消费清单——文件导入</div>
                <div class="dialog">
            		<g:field type="file" name="gasCustomerList"/>
            	</div>
            	<div class="buttons">
            		<span class="button"><g:submitButton name="upload" class="save" value="${message(code: 'default.button.upload.label', default: 'Upload')}" /></span>
            	</div>
	        </g:uploadForm>           
            </div>

            <div style="display:inline;">
			<g:uploadForm action="gasPlanImport" controller="gasPlanList">
	            <div style="padding-top:30px;width:500px;">油品销售计划——文件导入（用于统计计划完成量）</div>
                <div class="dialog">
            		<g:field type="file" name="gasPlanList"/>
            	</div>
            	<div class="buttons">
            		<span class="button"><g:submitButton name="upload" class="save" value="${message(code: 'default.button.upload.label', default: 'Upload')}" /></span>
            	</div>
	        </g:uploadForm>   
            </div>
        </div>
    </body>
</html>
